﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%-- 供应产品 --%>
<div id="mod_proRecommend" class="shop_box_body clearfix">
    <div class="shop_box_header clearfix">
        <span class="title">求购产品</span>
    </div>
    <div class="shop_box_content clearfix">
    <c:if test="${not empty page.result}">
        <div class="shop_list_09 clearfix">
           <ul class="clearfix">
           <c:forEach items="${page.result}" var="p" varStatus="i">
                <li class="clearfix">
                	<h6><a href="/shop/${username }/buy/${p.id }.html" target="_blank"><img class="shopimagekey" src="/static/images/oldImages/wait.gif" title="${p.img }_138_120" /></a></h6>
                    <h3 align="center"><a href="/shop/${username }/buy/${p.id }.html" target="_blank">${p.title }</a></h3>
                    <h4>
	                   	<%-- 集成商家网寻商机 --%>
		                <form name="sb${i.index}" action="${contextUrl }seekbusiness/sbstep1.html" target="_blank" method="post">
							<input type="hidden" name="sbSellBuyIds" value="${p.id}" />
							<input type="hidden" name="askType" value="QUOTATION" />
							<input type="hidden" name="seekBusinessType" value="USERDIY" />
							<a title="我要询价" href="#" onclick="document.sb${i.index}.submit();">我要询盘</a>
						</form>
                    </h4>
                </li>
                <c:if test="${(i.index+1)%4 eq 0}"></ul><ul class="clearfix"></c:if>
           </c:forEach>
           </ul>
        </div>
        
        <!-- page -->
        <form action="" method="get" name="pageform" id="pageform" class="shop_page_form">
        	<c:if test="${not empty dir }">
        		<input type="hidden" name="dir"  value="${dir }" />
        	</c:if>
        	<sst:page form="pageform" pageBean="${page }" />
        </form>
        
        </c:if>
        <c:if test="${empty page.result}">暂无采购产品信息</c:if>
    </div>
    <div class="shop_box_footer clearfix"></div>
</div>

